package com.java.service;

import com.java.model.Admin;
import com.java.model.Media;
import com.java.model.Result;
import com.java.model.User;
import org.springframework.ui.Model;

import javax.servlet.http.HttpServletRequest;


public interface UserService {
    /**
     * 登录验证
     * @param media
     * @return
     */
    Result login(Media media, HttpServletRequest request, Model model);

}
